﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BYS.XiAnComDept.BussLogic
{
    public class FundType
    {
        public FundType()
        {
            this.FundTypeGuid = Guid.NewGuid();
        }

        [Key]
        public Guid FundTypeGuid { get; set; }

        [Required(ErrorMessage = "项目类型名称不能为空！")]
        public string FundTypeName { get; set; }

        public ICollection<Fund> Funds { get; set; }
    }
}
